package com.qianfeng.shopping.entity;

import java.util.List;

public class City {
    private int id;
    private int code;
    private String name;
    private int proviencecode;
    private List<Area> list;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getProviencecode() {
        return proviencecode;
    }

    public void setProviencecode(int proviencecode) {
        this.proviencecode = proviencecode;
    }

    public List<Area> getList() {
        return list;
    }

    public void setList(List<Area> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", code=" + code +
                ", name='" + name + '\'' +
                ", proviencecode=" + proviencecode +
                ", list=" + list +
                '}';
    }
}
